{# Author : Bassoumi Julia #}

{% extends "::layout.html.twig" %}

{% block title %}
Index - {{ parent() }}
{% endblock %}


{% block body %}
<h2 style="text-align:center" class="sub-header">Mail à tous les tuteurs</h2>
<div class="jumbotron">
 <p>
     <a class="btn btn-lg btn-warning" href="?id=l2" role="button">Mail L2</a>
     <a class="btn btn-lg btn-success" href="?id=l3" role="button">Mail L3</a>
</p>
</div>

<form method="post" {{ form_enctype(form) }}>
<div>
    {{ form_label(form.objet, "Objet") }}
    {{ form_widget(form.objet) }}
</div>
<br>
<div>
    {{ form_label(form.fichier, "Fichier") }}
    {{ form_widget(form.fichier) }}
</div>
<br>
<div>
    {{ form_label(form.corps, "Corps") }}
    {{ form_widget(form.corps) }}
</div>
<br>
<div>
    {{ form_widget(form) }}
    <input type="submit" class="btn btn-primary" />
  </form>
</div>
{% endblock %}
